Import
Usage
Return Type: UseQueryResult
The hook returns a React Query result object with the following key properties:
Parameters
Query Options
You can customize the query behavior using the optional query parameter:
Notes
This hook is useful for:
- Displaying the current lowest price for a specific Collectible
- Building price comparison features
The hook automatically handles:
- Data fetching and caching
- Loading and error states
- Type-safe responses
Make sure to provide valid chain IDs and contract addresses. Invalid
parameters will result in failed queries.